//
// Decompiled by Jadx - 379ms
//
package p;

import android.app.Activity;
import ea.a;
import fi.y;
import gj.k;
import me.plusne.common.Json.Login.JsonLoginUserInfo;
import r.f;

public abstract class b<T> extends a<T> {
    public final Activity e;

    public b(Activity activity) {
        this.e = activity;
    }

    public void f(dw.a aVar) {
        aVar.printStackTrace();
        int code = aVar.getCode();
        Activity activity = this.e;
        if (code != 5009) {
            f fVar = new f(activity);
            fVar.d = 80;
            fVar.j();
            fVar.l(aVar.getMessage());
        }
        y.d();
        if (aVar.getCode() == 50002) {
            fn.b.m("", "userInfo");
            fn.b.m("", "LoginQuerySet");
            fn.y.by.setUserInfo((JsonLoginUserInfo) null);
            new k(activity);
        }
        if (aVar.getCode() == 60002) {
            fn.b.l("", "check_token");
        }
        if (aVar.getCode() == 5004) {
            f fVar2 = new f(activity);
            fVar2.d = 80;
            fVar2.j();
            fVar2.l("证书验证失败,请确认本地时间是否正确");
        }
    }
}
